package nothing;

import java.util.Comparator;
import org.apache.log4j.Logger;
import nothing.model.RecipeCost;

public class CostComparator implements Comparator<RecipeCost> {
    static Logger log = Logger.getLogger(CostComparator.class);

    public CostComparator() {
    }
    
    public int compare(RecipeCost recipeCost,RecipeCost recipeCost2) {                        
        return recipeCost.getCost().compareTo(recipeCost2.getCost());
    }
            
}
